package maps
{
	import flash.display.DisplayObject;
	import flash.geom.Point;

	public class Tile
	{
		private var position:Point;
		
		/**
		 *
		 * 节点上物体的种类，-1表示无物体
		 *  
		 */		
		public var type:int;
		
		public var target:DisplayObject;
		
		public function Tile(position:Point, type:int)
		{
			this.position = position;
			this.type = type;
		}
		
		public function getPosition():Point
		{
			return position;
		}
		
		public function setPosition(value:Point):void
		{
			this.position = value;
		}
	}
}